package com.petadoption.serverclient.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;
    private String userAvatar;
    private String userName;
    private Integer userSex;
    private String userIntro;
    private String userPhone;
    private String userPassword;
    private Integer userStatus;
    private LocalDateTime userTime;
    @TableLogic
    private Integer userDelete;
}
